package com.harassment.interception.data.databases.entities;

import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

@Entity(tableName = "white_list")
public class WhiteList {
    @PrimaryKey(autoGenerate = true)
    private long id;//唯一编号
    @ColumnInfo(name = "number")
    private String number;//白名单号码
    @ColumnInfo(name = "phone")
    private boolean phone;//拦截电话
    @ColumnInfo(name = "sms")
    private boolean sms;//拦截短信
    @ColumnInfo(name = "model")
    private int model;//模式
    @ColumnInfo(name = "remark")
    private String remark;//备注

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public boolean isPhone() {
        return phone;
    }

    public void setPhone(boolean phone) {
        this.phone = phone;
    }

    public boolean isSms() {
        return sms;
    }

    public void setSms(boolean sms) {
        this.sms = sms;
    }

    public int getModel() {
        return model;
    }

    public void setModel(int model) {
        this.model = model;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
